/*
* Copyright (c) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Camerality application class implementation
*
*/

// INCLUDE FILES
#include "camerality.hrh"
#include "cameralitydocument.h"
#include "cameralityapplication.h"

// ============================ MEMBER FUNCTIONS ===============================

/*!
* From CApaApplication, CreateDocumentL.
* Creates CcameralityDocument document object. The returned
* pointer in not owned by the CcameralityApplication object.
* @return A pointer to the created document object.
*/
CApaDocument* CCameralityApplication::CreateDocumentL()
    {
    // Create an camerality document, and return a pointer to it
    return CCameralityDocument::NewL(*this);
    }

/*!
* From CApaApplication, AppDllUid.
* @return Application's UID (KUidcameralityApp).
*/
TUid CCameralityApplication::AppDllUid() const
    {
    // Return the UID for the camerality application
    return KUidcameralityApp;
    }

// End of File
